package cn.zwx.infra.svc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhangwenxue
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("修改渠道入参")
public class SmsChannelUpdateDTO  extends SmsChannelSaveDTO{

    @NotNull(message = "编号不能为空")
    @ApiModelProperty(value = "编号",required = true, example = "1024")
    private Long id;
}
